/*
 * <p>Copyright ®Alyce_WX版权所有。</p>
 * 类名:DictTypePK
 * 创建人:alyce_wx
 * 创建时间:2017-03-30
 */
package com.wx.demo.wcd.domain.pk;

import com.yjhl.framework.domain.pk.PK;
import com.wx.demo.wcd.domain.po.DictTypePO;

/**
 * primary key class for DictType 
 * @author alyce_wx
 * @since 1.8
 * @version 1.0.0  
 */

public class DictTypePK extends PK {
    private static final long serialVersionUID = 1L;
    
    /**
     * 字典类型表标识
     */
    private String dictTypeId;

    public String getDictTypeId() {
        return dictTypeId;
    }

    public void setDictTypeId(String dictTypeId) {
        this.dictTypeId = dictTypeId;
    }
    
    public DictTypePK(){
    	super();
    }
    public DictTypePK(
    	String dictTypeId 
            ){
    	super();
    	
	    setDictTypeId ( dictTypeId );	    		
    }
    
	/**
	 * @see com.yjhl.framework.domain.pk.PK#isNull()
	 */
	@Override
    public boolean isNull(){
		return (		
	    dictTypeId == null 	    	
				);
	}
	
	/**
	 * @see com.yjhl.framework.domain.pk.PK#isEmpty()
	 */
	@Override
    public boolean isEmpty(){
		return (		
    	(dictTypeId == null || dictTypeId.length() == 0) 
				);
	}
    
    
    /**
	 * @see com.yjhl.framework.domain.pk.PK#makePO()
	 */
	@Override
    public DictTypePO makePO(){
    	DictTypePO entityPO = new DictTypePO();
    	
		entityPO.setDictTypeId( dictTypeId );
    	
    	return entityPO;
	}
}
